package com.sugar.psych.assessment.module.business.controller.admin.usermedal.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 用户获得勋章信息新增/修改 Request VO")
@Data
public class UserMedalSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "25160")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "17445")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "获得的勋章编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5119")
    @NotNull(message = "获得的勋章编号不能为空")
    private Long medalId;

}